package com.resign.carl.factorymethod;

import com.resign.carl.factorymethod.api.Logger;
import com.resign.carl.factorymethod.api.LoggerFactory;
import com.resign.carl.factorymethod.api.impl.FileLoggerFactory;

/**
 * Created by carl.zhao on 2016/6/14.
 */
public class Client {
    public static void main(String[] args) {
        LoggerFactory factory = new FileLoggerFactory();
        Logger logger = factory.createLogger();
        logger.writeLog();
    }
}
